package com.ruoyi.system.api.domain.blog;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 文章信息对象 flow_advanced_exploration_info
 * 
 * @author sumfun5
 * @date 2024-01-16
 */
public class Article
{

    /** id */
    private String articleId;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布日期")
    private Date pushData;

    /** 发表用户 */
    @Excel(name = "发表用户")
    private String articleUser;

    private String title;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private String likeCount;

    /** 评论数 */
    @Excel(name = "评论数")
    private String commentCount;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private String readCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createTime;

    /** 文章摘要 */
    @Excel(name = "文章摘要")
    private String articleSummary;

    /** 分类 */
    @Excel(name = "分类")
    private long categoryId;

    /** 分类 */
    @Excel(name = "分类")
    private String categoryName;

    /** 标签 */
    @Excel(name = "标签")
    private String tagId;

    /** 是否置顶（0代表置顶 1代表否） */
    private Integer topFlag;

    private String contentMd;

    private String contentHtml;

    private List<String> tagNames;

    public List<String> getTagNames() {
        return tagNames;
    }

    public void setTagNames(List<String> tagNames) {
        this.tagNames = tagNames;
    }

    @Override
    public String toString() {
        return "Article{" +
                "articleId='" + articleId + '\'' +
                ", pushData=" + pushData +
                ", articleUser='" + articleUser + '\'' +
                ", title='" + title + '\'' +
                ", likeCount='" + likeCount + '\'' +
                ", commentCount='" + commentCount + '\'' +
                ", readCount='" + readCount + '\'' +
                ", createTime=" + createTime +
                ", articleSummary='" + articleSummary + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", tagId='" + tagId + '\'' +
                ", topFlag=" + topFlag +
                ", contentMd='" + contentMd + '\'' +
                ", contentHtml='" + contentHtml + '\'' +
                '}';
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getTagId() {
        return tagId;
    }

    public void setTagId(String tagId) {
        this.tagId = tagId;
    }

    public String getContentMd() {
        return contentMd;
    }

    public void setContentMd(String contentMd) {
        this.contentMd = contentMd;
    }

    public String getContentHtml() {
        return contentHtml;
    }

    public void setContentHtml(String contentHtml) {
        this.contentHtml = contentHtml;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public Date getPushData() {
        return pushData;
    }

    public void setPushData(Date pushData) {
        this.pushData = pushData;
    }

    public String getArticleUser() {
        return articleUser;
    }

    public void setArticleUser(String articleUser) {
        this.articleUser = articleUser;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(String likeCount) {
        this.likeCount = likeCount;
    }

    public String getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(String commentCount) {
        this.commentCount = commentCount;
    }

    public String getReadCount() {
        return readCount;
    }

    public void setReadCount(String readCount) {
        this.readCount = readCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getArticleSummary() {
        return articleSummary;
    }

    public void setArticleSummary(String articleSummary) {
        this.articleSummary = articleSummary;
    }

    public Integer getTopFlag() {
        return topFlag;
    }

    public void setTopFlag(Integer topFlag) {
        this.topFlag = topFlag;
    }
}
